
//----------------------------------------------------------------
// Copyright (C) 2009 NStrive
// 版权所有。 
// All rights reserved.

// 文件名：IMsgProtocolPropertiesConfigDAO.cs
// 文件功能描述：协议属性
// 
// 
// 创建标识： kevin  2009-7-7 10:40:38
//
// 修改标识：
// 修改描述：
//----------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using Strive.Interface.IDataAccessBase.DAO;
using Strive.DataAccess.Base.Model.PageObject;
using System.Collections;
using Strive.Aspects;
using Strive.Util.Text;
using Strive.Util.Logging;
using Strive.Core.Validations;
using Strive.Core.Service;
using Strive.Core.Translators;
using Strive.Util.Maths;
using Strive.Reflection;
using Strive.DataAccess.Base.Model.SearcherObject;
using OTA.Notification.Entity.Protocol;
using OTA.Notification.Interface.IDAO;
using OTA.Notification.Entity.Search.Protocol;

namespace OTA.Notification.Interface.IDAO.Protocol
{

	/// <summary>
    /// 协议属性配置表
	/// MsgProtocolPropertiesConfig的IDao接口
    /// </summary>
    public interface IMsgProtocolPropertiesConfigDao : IBaseDAOBean<string,MsgProtocolPropertiesConfigBean>
    {
	    /// <summary>
        /// 批量删除实体
        /// </summary>
        /// <param name="list">MsgProtocolPropertiesConfigBean集合</param>
        /// <returns>删除数目</returns>
		int DataDelete(IList<MsgProtocolPropertiesConfigBean> list);
		/// <summary>
        /// 根据主键删除实体
        /// </summary>
        /// <param name="key">主键</param>
        /// <returns>删除数目</returns>
		int DataDelete(string key);
		/// <summary>
        /// 批量插入实体
        /// </summary>
        /// <param name="obj">MsgProtocolPropertiesConfigBean集合</param>
        /// <returns>影响行数</returns>
		int DataInsert(IList<MsgProtocolPropertiesConfigBean> list);
		/// <summary>
        /// 批量更新实体
        /// </summary>
        /// <param name="obj">MsgProtocolPropertiesConfigBean集合</param>
        /// <returns>更新数目</returns>
		int DataUpdate(IList<MsgProtocolPropertiesConfigBean> list);
		/// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="pageObject">分页对象</param>
        /// <returns>集合</returns>
		/// <remarks>测试百万级数据在10秒内,比MSSQL2005分页性能要高</remarks>
		PageResult<MsgProtocolPropertiesConfigBean> SelectPageList(BasePageSearch pageObject);

        IList<MsgProtocolPropertiesConfigBean> SelectProtocolProperties(SearchProtocolProperties search);
	
	}

}

 